package com.xdap.keymen.entity.wm.request.token;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class TokenRequest {
    String url = "/fuwu/b/oauth2/token";
    String grantType;
    String clientId;
    String clientSecret;

    @Override
    public String toString() {
        return this.url + "?" + "grant_type=" +
                this.grantType +
                "&" +
                "client_id=" +
                this.clientId +
                "&" +
                "client_secret=" +
                this.clientSecret;
    }
}
